package com.market.domain.credit.service;

import com.market.domain.credit.model.entity.CreditAccountEntity;
import com.market.domain.credit.model.entity.TradeEntity;

public interface ICreditAdjustService {

    //虽然之前奖品发放时也有积分发放到用户积分账户，但除奖品发放之外还有其他获得方式（用户行为返利，抽奖扣除，需要额外增加一个领域）
    String createOrder(TradeEntity tradeEntity);

    CreditAccountEntity queryUserCreditAccount(String userId);

}
